/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-13 20:12:03
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-13 20:15:00
 */
public class Test05_Duration{
    public static void main(String[] args) {
        Duration d = new Duration(1,1,1);
        int totalSeconds = d.getTotalSeconds();
        System.out.println("totalSeconds="+totalSeconds);



        Duration d1 = new Duration(3660);
        int hours = d1.getHours();
        System.out.println("hours="+hours);
        System.out.println(d1);
        
    }
}
